﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration;
using EraNet.Core.Model.SysManage;

namespace EraNet.Data.Mapping.SysManage
{
    public class CardAllotLogsMap : EntityTypeConfiguration<CardAllotLogs>
    {
        public CardAllotLogsMap()
        {
            this.ToTable("Era_CardAllotLogs");
            this.HasKey(a => a.Id);
            this.Property(a => a.CardNo).IsRequired();
            this.Property(a => a.CardPwd).IsRequired();
        }
    }
}
